<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>GSoC2011SfM: OpencvSfM::SequenceAnalyzer Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">GSoC2011SfM
   &#160;<span id="projectnumber">0.1</span>
   </div>
   <div id="projectbrief">Google Summer of Code 2011: Structure from motion</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>OpencvSfM</b>      </li>
      <li class="navelem"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html">SequenceAnalyzer</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">OpencvSfM::SequenceAnalyzer Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="OpencvSfM::SequenceAnalyzer" -->
<p>This class tries to match points in the entire sequence. It follow ideas proposed by Noah Snavely: Modeling the World from Internet Photo Collections.  
 <a href="class_opencv_sf_m_1_1_sequence_analyzer.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>&gt;</code></p>

<p><a href="class_opencv_sf_m_1_1_sequence_analyzer-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#ab77d7d385adf8fbfe82695a0a9ed2179">SequenceAnalyzer</a> (<a class="el" href="class_opencv_sf_m_1_1_motion_processor.html">MotionProcessor</a> input_sequence, cv::Ptr&lt; cv::FeatureDetector &gt; feature_detector, cv::Ptr&lt; cv::DescriptorExtractor &gt; descriptor_extractor, cv::Ptr&lt; <a class="el" href="class_opencv_sf_m_1_1_points_matcher.html">PointsMatcher</a> &gt; match_algorithm)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#ac26dbd5b551cbabcd76f58aca4a5b451">SequenceAnalyzer</a> (std::vector&lt; cv::Ptr&lt; <a class="el" href="class_opencv_sf_m_1_1_points_to_track.html">PointsToTrack</a> &gt; &gt; &amp;points_to_track, cv::Ptr&lt; <a class="el" href="class_opencv_sf_m_1_1_points_matcher.html">PointsMatcher</a> &gt; match_algorithm, const std::vector&lt; cv::Mat &gt; &amp;images)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#aa9b1972ae0c6e2037b70b5d1aadb4ebf">SequenceAnalyzer</a> (cv::FileNode file, std::vector&lt; cv::Mat &gt; &amp;images=std::vector&lt; cv::Mat &gt;())</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#aeb174b565dd04f2a68a915ec3a3a99e3">~SequenceAnalyzer</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#ad410898bc12c45b6d4dc3f1b807146c2">addNewImage</a> (cv::Mat image, cv::Ptr&lt; <a class="el" href="class_opencv_sf_m_1_1_points_to_track.html">PointsToTrack</a> &gt; points=cv::Ptr&lt; <a class="el" href="class_opencv_sf_m_1_1_points_to_track.html">PointsToTrack</a> &gt;())</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a3d58130e9e4fc7e297991709c656c43d">computeMatches</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="class_opencv_sf_m_1_1_track_of_points.html">TrackOfPoints</a> &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#af7c11e97664c050782bfc2d1808b219e">getTracks</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; cv::Ptr<br class="typebreak"/>
&lt; <a class="el" href="class_opencv_sf_m_1_1_points_to_track.html">PointsToTrack</a> &gt; &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#aefda449985e3013c6ac2adc5f61151d4">getPoints</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_opencv_sf_m_1_1_images_graph_connection.html">ImagesGraphConnection</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a2354ea088e81bcec7e85ceceebda7e21">getImgGraph</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a879aff97ceb6e2b653c48d3fd33b4c98">showTracks</a> (int timeBetweenImg=25)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a57a64b7f7d27214180c74770e864cde5">showTracks</a> (int img_to_show, int timeBetweenImg)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#aa0d8b6f3e4e0a8b1a215e7aa5cd8f00d">showTracksBetween</a> (unsigned int img1, unsigned int img2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a6f5fa377e0b3000b81d2de46c3dc13bf">getNumViews</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">cv::Mat&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a15f269f2df8a26c650ef2260106cff2d">getImage</a> (int idx)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#ad991a56c277be011aa5a85d2478553d5">addMatches</a> (std::vector&lt; cv::DMatch &gt; &amp;newMatches, unsigned int img1, unsigned int img2)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#ae5a5f33bddb87a0218a26545afdbad8b">addTracks</a> (std::vector&lt; <a class="el" href="class_opencv_sf_m_1_1_track_of_points.html">TrackOfPoints</a> &gt; &amp;newTracks)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#ae13ebc853e768f64420ccbe8974e2f63">constructImagesGraph</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; unsigned int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#afe9350556bd2bbb2c46204b182f9d119">getColors</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; cv::Vec3d &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#aa78d5d8f14b5f60abb9924a1f8e5a829">get3DStructure</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#aab618b81991736633095ce24c07013a3">showPointsOnImage</a> (unsigned int i, const std::vector&lt; cv::Vec2d &gt; &amp;pixelProjection)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; cv::Ptr<br class="typebreak"/>
&lt; <a class="el" href="class_opencv_sf_m_1_1_points_to_track.html">PointsToTrack</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#adda4f337df8e5672ea8999441ee258b7">getPointsToTrack</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a694fee23e02afc94b48fcfea7ecf2512">keepOnlyCorrectMatches</a> (std::vector&lt; <a class="el" href="class_opencv_sf_m_1_1_track_of_points.html">TrackOfPoints</a> &gt; &amp;tracks, unsigned int min_matches=10, unsigned int min_consistance=3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#aae8a0cf3e6eb3443cda9c53dcb8902df">keepOnlyCorrectMatches</a> (<a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html">SequenceAnalyzer</a> &amp;tracks, unsigned int min_matches=10, unsigned int min_consistance=3)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a3ffb8dd9711b61523c7f58ffc4ec5bee">read</a> (const cv::FileNode &amp;node, <a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html">SequenceAnalyzer</a> &amp;points)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a945b5f532e21f8cbdd067ddb070cccb1">write</a> (cv::FileStorage &amp;fs, const <a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html">SequenceAnalyzer</a> &amp;points)</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">cv::Ptr&lt; cv::FeatureDetector &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a38f83c0401b027598dce9117a6fb7a54">feature_detector_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">cv::Ptr&lt; cv::DescriptorExtractor &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a4c10b16ab49da0a79c0f2804ff9ae655">descriptor_extractor_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; cv::Ptr<br class="typebreak"/>
&lt; <a class="el" href="class_opencv_sf_m_1_1_points_to_track.html">PointsToTrack</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a9e7d1e57d4ff2a80d5ce405e203020b9">points_to_track_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; cv::Mat &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a07a0b188400adf992b78ada7db54de0e">images_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">cv::Ptr&lt; <a class="el" href="class_opencv_sf_m_1_1_points_matcher.html">PointsMatcher</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a3c3ffb9390f94294e010d38e64bffc25">match_algorithm_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; cv::Ptr<br class="typebreak"/>
&lt; <a class="el" href="class_opencv_sf_m_1_1_points_matcher.html">PointsMatcher</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#adb773da58cbaca8ff8d681b20c4007ab">matches_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="class_opencv_sf_m_1_1_track_of_points.html">TrackOfPoints</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#ab259863b967c142950a96bc472fd65ef">tracks_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_opencv_sf_m_1_1_images_graph_connection.html">ImagesGraphConnection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a2f06b4e79d38b6fa0315751eeb545c81">images_graph_</a></td></tr>
<tr><td colspan="2"><h2><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3038a412036acf7743cb6f2306a5d349"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::mininum_points_matches" ref="a3038a412036acf7743cb6f2306a5d349" args="" -->
static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a3038a412036acf7743cb6f2306a5d349">mininum_points_matches</a> = 20</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Minimum points detected into an image to keep this estimation (set to 20) <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2b2137918a91c3931b9688402783ea4e"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::mininum_image_matches" ref="a2b2137918a91c3931b9688402783ea4e" args="" -->
static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a2b2137918a91c3931b9688402783ea4e">mininum_image_matches</a> = 2</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Minimum images connections in a track to keep this estimation (usually set to 2) <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>This class tries to match points in the entire sequence. It follow ideas proposed by Noah Snavely: Modeling the World from Internet Photo Collections. </p>
<p>This class process an input video to first extracts the features, then matches them and keeps them only when there is more than 2 pictures containing the point. </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8h_source.html#l00025">25</a> of file <a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab77d7d385adf8fbfe82695a0a9ed2179"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::SequenceAnalyzer" ref="ab77d7d385adf8fbfe82695a0a9ed2179" args="(MotionProcessor input_sequence, cv::Ptr&lt; cv::FeatureDetector &gt; feature_detector, cv::Ptr&lt; cv::DescriptorExtractor &gt; descriptor_extractor, cv::Ptr&lt; PointsMatcher &gt; match_algorithm)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OpencvSfM::SequenceAnalyzer::SequenceAnalyzer </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_opencv_sf_m_1_1_motion_processor.html">MotionProcessor</a>&#160;</td>
          <td class="paramname"><em>input_sequence</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cv::Ptr&lt; cv::FeatureDetector &gt;&#160;</td>
          <td class="paramname"><em>feature_detector</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cv::Ptr&lt; cv::DescriptorExtractor &gt;&#160;</td>
          <td class="paramname"><em>descriptor_extractor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cv::Ptr&lt; <a class="el" href="class_opencv_sf_m_1_1_points_matcher.html">PointsMatcher</a> &gt;&#160;</td>
          <td class="paramname"><em>match_algorithm</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor taking a <a class="el" href="class_opencv_sf_m_1_1_motion_processor.html" title="This class try to create a commun interface for files loading. Indeed, if you want to use webcam...">MotionProcessor</a> to load images and a features detector and descriptor to find matches. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">input_sequence</td><td>input images </td></tr>
    <tr><td class="paramname">feature_detector</td><td>Algorithm to use for features detection ( see <a href="http://opencv.willowgarage.com/documentation/cpp/common_interfaces_for_feature_detection_and_descriptor_extraction.html#featuredetector">http://opencv.willowgarage.com/documentation/cpp/common_interfaces_for_feature_detection_and_descriptor_extraction.html#featuredetector</a> ) </td></tr>
    <tr><td class="paramname">descriptor_extractor</td><td>Algorithm to use for descriptors detection ( see <a href="http://opencv.willowgarage.com/documentation/cpp/common_interfaces_for_feature_detection_and_descriptor_extraction.html#descriptorextractor">http://opencv.willowgarage.com/documentation/cpp/common_interfaces_for_feature_detection_and_descriptor_extraction.html#descriptorextractor</a> ) </td></tr>
    <tr><td class="paramname">match_algorithm</td><td>algorithm to match points of each images </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00025">25</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ac26dbd5b551cbabcd76f58aca4a5b451"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::SequenceAnalyzer" ref="ac26dbd5b551cbabcd76f58aca4a5b451" args="(std::vector&lt; cv::Ptr&lt; PointsToTrack &gt; &gt; &amp;points_to_track, cv::Ptr&lt; PointsMatcher &gt; match_algorithm, const std::vector&lt; cv::Mat &gt; &amp;images)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OpencvSfM::SequenceAnalyzer::SequenceAnalyzer </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; cv::Ptr&lt; <a class="el" href="class_opencv_sf_m_1_1_points_to_track.html">PointsToTrack</a> &gt; &gt; &amp;&#160;</td>
          <td class="paramname"><em>points_to_track</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cv::Ptr&lt; <a class="el" href="class_opencv_sf_m_1_1_points_matcher.html">PointsMatcher</a> &gt;&#160;</td>
          <td class="paramname"><em>match_algorithm</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; cv::Mat &gt; &amp;&#160;</td>
          <td class="paramname"><em>images</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor taking a vector of points to track and a <a class="el" href="class_opencv_sf_m_1_1_points_matcher.html" title="A class used for matching descriptors that can be described as vectors in a finite-dimensional space...">PointsMatcher</a> algorithm to find matches. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">images</td><td>input images. Points should be in the same order! </td></tr>
    <tr><td class="paramname">points_to_track</td><td>list of points to track with ( or not ) features </td></tr>
    <tr><td class="paramname">match_algorithm</td><td>algorithm to match points of each images </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00056">56</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa9b1972ae0c6e2037b70b5d1aadb4ebf"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::SequenceAnalyzer" ref="aa9b1972ae0c6e2037b70b5d1aadb4ebf" args="(cv::FileNode file, std::vector&lt; cv::Mat &gt; &amp;images=std::vector&lt; cv::Mat &gt;())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OpencvSfM::SequenceAnalyzer::SequenceAnalyzer </td>
          <td>(</td>
          <td class="paramtype">cv::FileNode&#160;</td>
          <td class="paramname"><em>file</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::vector&lt; cv::Mat &gt; &amp;&#160;</td>
          <td class="paramname"><em>images</em> = <code>std::vector&lt;cv::Mat&gt;()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Constructor taking a list of images and a FileNode </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">images</td><td>input images. Points should be in the same order! </td></tr>
    <tr><td class="paramname">file</td><td>YAML file to get points and matches </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00068">68</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aeb174b565dd04f2a68a915ec3a3a99e3"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::~SequenceAnalyzer" ref="aeb174b565dd04f2a68a915ec3a3a99e3" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">OpencvSfM::SequenceAnalyzer::~SequenceAnalyzer </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Destructor of <a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html" title="This class tries to match points in the entire sequence. It follow ideas proposed by Noah Snavely: Mo...">SequenceAnalyzer</a> (nothing is released!) </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00075">75</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad991a56c277be011aa5a85d2478553d5"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::addMatches" ref="ad991a56c277be011aa5a85d2478553d5" args="(std::vector&lt; cv::DMatch &gt; &amp;newMatches, unsigned int img1, unsigned int img2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpencvSfM::SequenceAnalyzer::addMatches </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; cv::DMatch &gt; &amp;&#160;</td>
          <td class="paramname"><em>newMatches</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>img1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>img2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function add matches to tracks </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newMatches</td><td>new matches to add </td></tr>
    <tr><td class="paramname">img1</td><td>index of source matches image </td></tr>
    <tr><td class="paramname">img2</td><td>index of destination matches image </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00181">181</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad410898bc12c45b6d4dc3f1b807146c2"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::addNewImage" ref="ad410898bc12c45b6d4dc3f1b807146c2" args="(cv::Mat image, cv::Ptr&lt; PointsToTrack &gt; points=cv::Ptr&lt; PointsToTrack &gt;())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpencvSfM::SequenceAnalyzer::addNewImage </td>
          <td>(</td>
          <td class="paramtype">cv::Mat&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cv::Ptr&lt; <a class="el" href="class_opencv_sf_m_1_1_points_to_track.html">PointsToTrack</a> &gt;&#160;</td>
          <td class="paramname"><em>points</em> = <code>cv::Ptr&lt;<a class="el" href="class_opencv_sf_m_1_1_points_to_track.html">PointsToTrack</a>&gt;(&#160;)</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method add new image to track. When adding, if the matches are not computed, use automatically computeMatches to compute them! </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>New image </td></tr>
    <tr><td class="paramname">points</td><td>extracted points with features vectors. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00079">79</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae5a5f33bddb87a0218a26545afdbad8b"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::addTracks" ref="ae5a5f33bddb87a0218a26545afdbad8b" args="(std::vector&lt; TrackOfPoints &gt; &amp;newTracks)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpencvSfM::SequenceAnalyzer::addTracks </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="class_opencv_sf_m_1_1_track_of_points.html">TrackOfPoints</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>newTracks</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function add new Tracks </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">newTracks</td><td>new Tracks to add </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00227">227</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a3d58130e9e4fc7e297991709c656c43d"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::computeMatches" ref="a3d58130e9e4fc7e297991709c656c43d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpencvSfM::SequenceAnalyzer::computeMatches </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method compute the matches between each points of each images. It first compute missing features descriptor, then train each matcher. Finally compute tracks of keypoints ( a track is a connected set of matching keypoints across multiple images ) </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00098">98</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ae13ebc853e768f64420ccbe8974e2f63"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::constructImagesGraph" ref="ae13ebc853e768f64420ccbe8974e2f63" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpencvSfM::SequenceAnalyzer::constructImagesGraph </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function constructs and feeds the images_graph_ </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00524">524</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa78d5d8f14b5f60abb9924a1f8e5a829"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::get3DStructure" ref="aa78d5d8f14b5f60abb9924a1f8e5a829" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; cv::Vec3d &gt; OpencvSfM::SequenceAnalyzer::get3DStructure </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function will create a list of 3D points corresponding to object viewed in the sequence </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00548">548</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="afe9350556bd2bbb2c46204b182f9d119"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::getColors" ref="afe9350556bd2bbb2c46204b182f9d119" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; unsigned int &gt; OpencvSfM::SequenceAnalyzer::getColors </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This function will create a list of points color corresponding to object viewed in the sequence </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00561">561</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a15f269f2df8a26c650ef2260106cff2d"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::getImage" ref="a15f269f2df8a26c650ef2260106cff2d" args="(int idx)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cv::Mat OpencvSfM::SequenceAnalyzer::getImage </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>idx</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>get the ith image. No checks are performed! </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">idx</td><td>index of the wanted image </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Matrix of the wanted image </dd></dl>

<p>Definition at line <a class="el" href="_sequence_analyzer_8h_source.html#l00209">209</a> of file <a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2354ea088e81bcec7e85ceceebda7e21"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::getImgGraph" ref="a2354ea088e81bcec7e85ceceebda7e21" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_opencv_sf_m_1_1_images_graph_connection.html">ImagesGraphConnection</a>&amp; OpencvSfM::SequenceAnalyzer::getImgGraph </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the graph of image connections </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>graph of image connections </dd></dl>

<p>Definition at line <a class="el" href="_sequence_analyzer_8h_source.html#l00148">148</a> of file <a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>.</p>

<p>Referenced by <a class="el" href="_euclidean_estimator_8cpp_source.html#l00744">OpencvSfM::EuclideanEstimator::computeReconstruction()</a>.</p>

</div>
</div>
<a class="anchor" id="a6f5fa377e0b3000b81d2de46c3dc13bf"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::getNumViews" ref="a6f5fa377e0b3000b81d2de46c3dc13bf" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int OpencvSfM::SequenceAnalyzer::getNumViews </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Use this function to know how many images are stored into tracks... </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>numbers of images (and cameras) stored into tracks. </dd></dl>

<p>Definition at line <a class="el" href="_sequence_analyzer_8h_source.html#l00188">188</a> of file <a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>.</p>

</div>
</div>
<a class="anchor" id="aefda449985e3013c6ac2adc5f61151d4"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::getPoints" ref="aefda449985e3013c6ac2adc5f61151d4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; cv::Ptr&lt; <a class="el" href="class_opencv_sf_m_1_1_points_to_track.html">PointsToTrack</a> &gt; &gt;&amp; OpencvSfM::SequenceAnalyzer::getPoints </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method can be used to get the points </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8h_source.html#l00141">141</a> of file <a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>.</p>

<p>Referenced by <a class="el" href="_euclidean_estimator_8cpp_source.html#l00148">OpencvSfM::EuclideanEstimator::bundleAdjustement()</a>, <a class="el" href="_euclidean_estimator_8cpp_source.html#l00452">OpencvSfM::EuclideanEstimator::cameraResection()</a>, <a class="el" href="_euclidean_estimator_8cpp_source.html#l00744">OpencvSfM::EuclideanEstimator::computeReconstruction()</a>, <a class="el" href="_structure_estimator_8cpp_source.html#l00012">OpencvSfM::StructureEstimator::computeStructure()</a>, <a class="el" href="_euclidean_estimator_8cpp_source.html#l00652">OpencvSfM::EuclideanEstimator::initialReconstruction()</a>, and <a class="el" href="_structure_estimator_8cpp_source.html#l00095">OpencvSfM::StructureEstimator::removeOutliersTracks()</a>.</p>

</div>
</div>
<a class="anchor" id="adda4f337df8e5672ea8999441ee258b7"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::getPointsToTrack" ref="adda4f337df8e5672ea8999441ee258b7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; cv::Ptr&lt; <a class="el" href="class_opencv_sf_m_1_1_points_to_track.html">PointsToTrack</a> &gt; &gt; OpencvSfM::SequenceAnalyzer::getPointsToTrack </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get the points for track from this sequence. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>points for track from this sequence. </dd></dl>

<p>Definition at line <a class="el" href="_sequence_analyzer_8h_source.html#l00250">250</a> of file <a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>.</p>

</div>
</div>
<a class="anchor" id="af7c11e97664c050782bfc2d1808b219e"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::getTracks" ref="af7c11e97664c050782bfc2d1808b219e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="class_opencv_sf_m_1_1_track_of_points.html">TrackOfPoints</a>&gt;&amp; OpencvSfM::SequenceAnalyzer::getTracks </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method can be used to get the tracks </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8h_source.html#l00137">137</a> of file <a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>.</p>

<p>Referenced by <a class="el" href="_euclidean_estimator_8cpp_source.html#l00744">OpencvSfM::EuclideanEstimator::computeReconstruction()</a>, <a class="el" href="_structure_estimator_8cpp_source.html#l00012">OpencvSfM::StructureEstimator::computeStructure()</a>, <a class="el" href="_euclidean_estimator_8cpp_source.html#l00652">OpencvSfM::EuclideanEstimator::initialReconstruction()</a>, <a class="el" href="_sequence_analyzer_8h_source.html#l00127">keepOnlyCorrectMatches()</a>, and <a class="el" href="_structure_estimator_8cpp_source.html#l00095">OpencvSfM::StructureEstimator::removeOutliersTracks()</a>.</p>

</div>
</div>
<a class="anchor" id="a694fee23e02afc94b48fcfea7ecf2512"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::keepOnlyCorrectMatches" ref="a694fee23e02afc94b48fcfea7ecf2512" args="(std::vector&lt; TrackOfPoints &gt; &amp;tracks, unsigned int min_matches=10, unsigned int min_consistance=3)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpencvSfM::SequenceAnalyzer::keepOnlyCorrectMatches </td>
          <td>(</td>
          <td class="paramtype">std::vector&lt; <a class="el" href="class_opencv_sf_m_1_1_track_of_points.html">TrackOfPoints</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>tracks</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>min_matches</em> = <code>10</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>min_consistance</em> = <code>3</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method keep only tracks with more than mininum_image_matches </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00158">158</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

<p>Referenced by <a class="el" href="_euclidean_estimator_8cpp_source.html#l00744">OpencvSfM::EuclideanEstimator::computeReconstruction()</a>.</p>

</div>
</div>
<a class="anchor" id="aae8a0cf3e6eb3443cda9c53dcb8902df"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::keepOnlyCorrectMatches" ref="aae8a0cf3e6eb3443cda9c53dcb8902df" args="(SequenceAnalyzer &amp;tracks, unsigned int min_matches=10, unsigned int min_consistance=3)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static void OpencvSfM::SequenceAnalyzer::keepOnlyCorrectMatches </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html">SequenceAnalyzer</a> &amp;&#160;</td>
          <td class="paramname"><em>tracks</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>min_matches</em> = <code>10</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>min_consistance</em> = <code>3</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>This method keep only tracks with more than mininum_image_matches </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8h_source.html#l00127">127</a> of file <a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3ffb8dd9711b61523c7f58ffc4ec5bee"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::read" ref="a3ffb8dd9711b61523c7f58ffc4ec5bee" args="(const cv::FileNode &amp;node, SequenceAnalyzer &amp;points)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpencvSfM::SequenceAnalyzer::read </td>
          <td>(</td>
          <td class="paramtype">const cv::FileNode &amp;&#160;</td>
          <td class="paramname"><em>node</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html">SequenceAnalyzer</a> &amp;&#160;</td>
          <td class="paramname"><em>points</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Load the sequence from a YAML file. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">node</td><td>Previously opened YAML file node </td></tr>
    <tr><td class="paramname">points</td><td>output </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00384">384</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

<p>Referenced by <a class="el" href="_sequence_analyzer_8cpp_source.html#l00068">SequenceAnalyzer()</a>.</p>

</div>
</div>
<a class="anchor" id="aab618b81991736633095ce24c07013a3"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::showPointsOnImage" ref="aab618b81991736633095ce24c07013a3" args="(unsigned int i, const std::vector&lt; cv::Vec2d &gt; &amp;pixelProjection)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpencvSfM::SequenceAnalyzer::showPointsOnImage </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>i</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const std::vector&lt; cv::Vec2d &gt; &amp;&#160;</td>
          <td class="paramname"><em>pixelProjection</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Use this function to show 2D points into ith image </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">i</td><td>index of wanted image </td></tr>
    <tr><td class="paramname">pixelProjection</td><td>list of 2D points </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00574">574</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a879aff97ceb6e2b653c48d3fd33b4c98"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::showTracks" ref="a879aff97ceb6e2b653c48d3fd33b4c98" args="(int timeBetweenImg=25)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpencvSfM::SequenceAnalyzer::showTracks </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>timeBetweenImg</em> = <code>25</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Use this function to print the sequence of matches </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">timeBetweenImg</td><td>see cv::waitKey for the value </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00241">241</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a57a64b7f7d27214180c74770e864cde5"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::showTracks" ref="a57a64b7f7d27214180c74770e864cde5" args="(int img_to_show, int timeBetweenImg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpencvSfM::SequenceAnalyzer::showTracks </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>img_to_show</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>timeBetweenImg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Use this function to print the sequence of matches </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">img_to_show</td><td>index of image whose tracks will be shown. </td></tr>
    <tr><td class="paramname">timeBetweenImg</td><td>see cv::waitKey for the value </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00293">293</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa0d8b6f3e4e0a8b1a215e7aa5cd8f00d"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::showTracksBetween" ref="aa0d8b6f3e4e0a8b1a215e7aa5cd8f00d" args="(unsigned int img1, unsigned int img2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpencvSfM::SequenceAnalyzer::showTracksBetween </td>
          <td>(</td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>img1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&#160;</td>
          <td class="paramname"><em>img2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Use this function to print the matches between two images </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00342">342</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a945b5f532e21f8cbdd067ddb070cccb1"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::write" ref="a945b5f532e21f8cbdd067ddb070cccb1" args="(cv::FileStorage &amp;fs, const SequenceAnalyzer &amp;points)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void OpencvSfM::SequenceAnalyzer::write </td>
          <td>(</td>
          <td class="paramtype">cv::FileStorage &amp;&#160;</td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html">SequenceAnalyzer</a> &amp;&#160;</td>
          <td class="paramname"><em>points</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Save the sequence into a YAML file. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">fs</td><td>Previously opened YAML file node </td></tr>
    <tr><td class="paramname">points</td><td>sequence to save... </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_sequence_analyzer_8cpp_source.html#l00467">467</a> of file <a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a4c10b16ab49da0a79c0f2804ff9ae655"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::descriptor_extractor_" ref="a4c10b16ab49da0a79c0f2804ff9ae655" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cv::Ptr&lt;cv::DescriptorExtractor&gt; <a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a4c10b16ab49da0a79c0f2804ff9ae655">OpencvSfM::SequenceAnalyzer::descriptor_extractor_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>optional, method to use for feature extraction </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8h_source.html#l00037">37</a> of file <a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>.</p>

<p>Referenced by <a class="el" href="_sequence_analyzer_8cpp_source.html#l00079">addNewImage()</a>.</p>

</div>
</div>
<a class="anchor" id="a38f83c0401b027598dce9117a6fb7a54"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::feature_detector_" ref="a38f83c0401b027598dce9117a6fb7a54" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cv::Ptr&lt;cv::FeatureDetector&gt; <a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a38f83c0401b027598dce9117a6fb7a54">OpencvSfM::SequenceAnalyzer::feature_detector_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>optional, method to use for feature detection </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8h_source.html#l00033">33</a> of file <a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>.</p>

<p>Referenced by <a class="el" href="_sequence_analyzer_8cpp_source.html#l00079">addNewImage()</a>.</p>

</div>
</div>
<a class="anchor" id="a07a0b188400adf992b78ada7db54de0e"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::images_" ref="a07a0b188400adf992b78ada7db54de0e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;cv::Mat&gt; <a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a07a0b188400adf992b78ada7db54de0e">OpencvSfM::SequenceAnalyzer::images_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>List of input images </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8h_source.html#l00045">45</a> of file <a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>.</p>

<p>Referenced by <a class="el" href="_sequence_analyzer_8cpp_source.html#l00079">addNewImage()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00025">SequenceAnalyzer()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00574">showPointsOnImage()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00241">showTracks()</a>, and <a class="el" href="_sequence_analyzer_8cpp_source.html#l00342">showTracksBetween()</a>.</p>

</div>
</div>
<a class="anchor" id="a2f06b4e79d38b6fa0315751eeb545c81"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::images_graph_" ref="a2f06b4e79d38b6fa0315751eeb545c81" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_opencv_sf_m_1_1_images_graph_connection.html">ImagesGraphConnection</a> <a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a2f06b4e79d38b6fa0315751eeb545c81">OpencvSfM::SequenceAnalyzer::images_graph_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Graph of images relations ( value ( i,j ) correspond to the numbers of matches between theses two images </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8h_source.html#l00064">64</a> of file <a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>.</p>

<p>Referenced by <a class="el" href="_sequence_analyzer_8cpp_source.html#l00524">constructImagesGraph()</a>.</p>

</div>
</div>
<a class="anchor" id="a3c3ffb9390f94294e010d38e64bffc25"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::match_algorithm_" ref="a3c3ffb9390f94294e010d38e64bffc25" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cv::Ptr&lt;<a class="el" href="class_opencv_sf_m_1_1_points_matcher.html">PointsMatcher</a>&gt; <a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a3c3ffb9390f94294e010d38e64bffc25">OpencvSfM::SequenceAnalyzer::match_algorithm_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The matcher algorithm we should use to find matches. </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8h_source.html#l00049">49</a> of file <a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>.</p>

<p>Referenced by <a class="el" href="_sequence_analyzer_8cpp_source.html#l00098">computeMatches()</a>, and <a class="el" href="_sequence_analyzer_8cpp_source.html#l00384">read()</a>.</p>

</div>
</div>
<a class="anchor" id="adb773da58cbaca8ff8d681b20c4007ab"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::matches_" ref="adb773da58cbaca8ff8d681b20c4007ab" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; cv::Ptr&lt; <a class="el" href="class_opencv_sf_m_1_1_points_matcher.html">PointsMatcher</a> &gt; &gt; <a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#adb773da58cbaca8ff8d681b20c4007ab">OpencvSfM::SequenceAnalyzer::matches_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>A matcher for each picture. Its role is to find quickly matches between i^th picture and other images. </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8h_source.html#l00054">54</a> of file <a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>.</p>

<p>Referenced by <a class="el" href="_sequence_analyzer_8cpp_source.html#l00384">read()</a>.</p>

</div>
</div>
<a class="anchor" id="a9e7d1e57d4ff2a80d5ce405e203020b9"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::points_to_track_" ref="a9e7d1e57d4ff2a80d5ce405e203020b9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; cv::Ptr&lt; <a class="el" href="class_opencv_sf_m_1_1_points_to_track.html">PointsToTrack</a> &gt; &gt; <a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#a9e7d1e57d4ff2a80d5ce405e203020b9">OpencvSfM::SequenceAnalyzer::points_to_track_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>A list of points for each picture </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8h_source.html#l00041">41</a> of file <a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>.</p>

<p>Referenced by <a class="el" href="_sequence_analyzer_8cpp_source.html#l00079">addNewImage()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00098">computeMatches()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00524">constructImagesGraph()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00384">read()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00025">SequenceAnalyzer()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00241">showTracks()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00342">showTracksBetween()</a>, and <a class="el" href="_sequence_analyzer_8cpp_source.html#l00467">write()</a>.</p>

</div>
</div>
<a class="anchor" id="ab259863b967c142950a96bc472fd65ef"></a><!-- doxytag: member="OpencvSfM::SequenceAnalyzer::tracks_" ref="ab259863b967c142950a96bc472fd65ef" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="class_opencv_sf_m_1_1_track_of_points.html">TrackOfPoints</a>&gt; <a class="el" href="class_opencv_sf_m_1_1_sequence_analyzer.html#ab259863b967c142950a96bc472fd65ef">OpencvSfM::SequenceAnalyzer::tracks_</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>List of each tracks found. A track is a connected set of matching keypoints across multiple images </p>

<p>Definition at line <a class="el" href="_sequence_analyzer_8h_source.html#l00059">59</a> of file <a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a>.</p>

<p>Referenced by <a class="el" href="_sequence_analyzer_8cpp_source.html#l00181">addMatches()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00227">addTracks()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00098">computeMatches()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00524">constructImagesGraph()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00548">get3DStructure()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00561">getColors()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00384">read()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00241">showTracks()</a>, <a class="el" href="_sequence_analyzer_8cpp_source.html#l00342">showTracksBetween()</a>, and <a class="el" href="_sequence_analyzer_8cpp_source.html#l00467">write()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>D:/Travail/These/Determination caracteristiques camera/GSoC/SfM/src/<a class="el" href="_sequence_analyzer_8h_source.html">SequenceAnalyzer.h</a></li>
<li>D:/Travail/These/Determination caracteristiques camera/GSoC/SfM/src/<a class="el" href="_sequence_analyzer_8cpp_source.html">SequenceAnalyzer.cpp</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Sun Aug 21 2011 16:45:54 for GSoC2011SfM by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
